package com.morehair.bean.vo.wx;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Author  kkw
 * Date  2021/6/8 12:42
 * Version 1.0
 * Description :
 */
@NoArgsConstructor
@Data
public class LoginVo {

    @JsonProperty("userInfo")
    private UserInfoDTO userInfo;
    @JsonProperty("tokenExpire")
    private Date tokenExpire;
    @JsonProperty("token")
    private String token;

    @NoArgsConstructor
    @Data
    public static class UserInfoDTO {
        @JsonProperty("nickName")
        private String nickName;
        @JsonProperty("avatarUrl")
        private String avatarUrl;
    }
}
